<!-- 完成新手任务 -->
<template>
  <div class="bg" @click="closeClick">

    <div class='content'>

      <LImage class="img" :src="Config.img('v2_xrw_wancheng.png')"></LImage>
      
      <div class="height220"></div>
      <text class="font34 main-t1">{{isNew ? T('恭喜您！完成新手任务') : T('恭喜您！完成全部任务')}}</text>

      <div class="height20"></div>
      <text class="font26 text3">{{isNew ? T('进阶任务已经开启，完成任务 领取丰厚奖励') : T('敬请期待更多成就任务吧！')}}</text>


      <div class="row jcenter">
        <div class="but main-bt1" @click="closeClick">
          <text class="font26 text1">{{T('确认')}}</text>
        </div>
      </div>
    </div>
  </div>
</template>


<style src="@/_css/style.css" ></style>
<style scoped>
.bg {
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-color:rgba(0, 0, 0, 0.6);
}
.content {
  width: 464px;
  background-color: #FFFFFF;
  border-radius: 24px;

  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 60px;
}
.img {
  width: 464px;
  height: 360px;

  position: absolute;
  top: 40;
  left: 0;
}
.but {
  justify-content: center;
  align-items: center;
  width: 274px;
  height: 62px;
  border-radius: 30px;

  margin-top: 48px;
}
.height220 {
  height: 220px;
}
</style>

<script>


//功能
import jnavigator from "@/_js/navigator"; 
import jconfig from "@/_js/config"; 

import I18N from "@/_i18n/i18n";
var T = I18N.t;


export default {

  data() {
    return {
      T:T,
      Config:jconfig,

      isNew:true, //true 新人任务
    };
  },

  mounted(){

    var param = weex.config;
    this.isNew = param.isNew;
  },

  methods:{

    /**********************************************点击*/
    //关闭
    closeClick() {
      jnavigator.dismiss();
    },
  }
}
</script>
